package com.bhs.sansonglogistics.ui.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.bhs.sansonglogistics.R;
import com.bhs.sansonglogistics.bean.FeeDetail;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class FeeDetailAdapter extends BaseQuickAdapter<FeeDetail, BaseViewHolder> {

    public FeeDetailAdapter() {
        super(R.layout.item_obvious);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, FeeDetail item) {
        helper.setText(R.id.tv_type_name, item.getFee_notice());
        helper.setText(R.id.tv_money, item.getMoney());
    }
}
